package com.example.tourism.service;

import com.example.tourism.pojo.Result;
import com.example.tourism.pojo.po.HotelInfo;
import com.example.tourism.pojo.po.Img;
import com.example.tourism.pojo.po.Room;
import com.example.tourism.pojo.vo.res.HotelResVo;

public interface HotelService {
    Result addHotel(HotelInfo hotelInfo);

    Result getIsApplyHotel(String userId);

    Result fetchApplicationList(String id);

    Result approveApplication(String id);

    Result rejectApplication(String id);

    Result withdrawApplication(String id);

    Result insertRoom(Room room,String id);

    Result getHotelRoomList(String id);

    Result getRoomPhotos(String hotelId);

    Result updateRoomInfo(Room room);

    Result uploadImg(Img img);

    Result getHotelInfo(String id);

    Result updateHotelInfo(HotelResVo hotelResVo);

    Result getHotelReviews(String id);

    Result hotelGetComments(String orderUid);

    Result submitCommentReply(String orderUid, String content);
}
